package com.zhang.bingmei_incomeexpenditure.entity.ie.updateNew;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 修改收支情况入参DTO
 * 支持单独修改某一列数据
 */
//@ApiModel(description = "修改收支情况入参DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateIncomeExpenditureDTONew implements Serializable {

    //@ApiModelProperty("id主键")
    @NotBlank(message = "id不能为空")
    private String id;

    //@ApiModelProperty("市辖区（如“秀英区”“龙华区”）")
    private String district;

   // @ApiModelProperty("年度（如“2024”“2025”）")
    private String year;

    // 经费来源（对应实体类及数据库字段）
   // @ApiModelProperty("市级下拨经费")
    private Double cityAllocated;

   // @ApiModelProperty("区级配套经费")
    private Double districtAllocated;

   // @ApiModelProperty("其他（财政专项、单位自筹等）")
    private Double otherFunds;

   // @ApiModelProperty("经费来源合计")
    private Double totalFunds;

    // 已实际完成支付
    //@ApiModelProperty("购置、维修、维护“防蚊、防蚊蝇”设施支出")
    private Double purchaseMaintain;

    //@ApiModelProperty("购买消杀设备、药品支出")
    private Double purchaseEquipment;

   // @ApiModelProperty("病媒生物防制相关宣传费、印刷费")
    private Double diseasePrevention;

   // @ApiModelProperty("组织专家开展区内病媒防制工作研讨等支出")
    private Double expertTraining;

   // @ApiModelProperty("购买第三方病媒防制服务支出")
    private Double thirdPartyService;

  // @ApiModelProperty("其他不属于上述用途的支出")
    private Double otherPayment;

  //  @ApiModelProperty("已实际完成支付合计（前端无需传入，后端自动计算）")
    private Double totalPayment;

    // 被财政部门收回的资金
   // @ApiModelProperty("被收回的市级下拨经费")
    private Double cityRecovered;

    //@ApiModelProperty("被收回的区级配套经费")
    private Double districtRecovered;
}